<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<script src="../js/view/jieColumn.js"></script>
        <script language='javascript' src='../js/scriptManager.js'>
        </script>
        <script language='javascript'>loadFiles("../");</script>
		<link rel="stylesheet" type="text/css" href="../css/jie.css">
		<title>Untitled Document</title>
	</head>
	<body>
	<input type="submit">
		<div id = "abc" style="border: 2px solid #000000;width:800px; height: 500px;"></div>
		<script>
function init(){
	return CellPackage["JieDataCell"](arguments);
	
}
			var jco = new JieColumn("jie");
			//alert(window["JieDataCell"]);
			
			try{
			var jc = new window["JieDataCell"](jco, jco);
			}catch(err){
				alert(err);
			}
			
			//CellPackage["JieDataCell"].call(jc, jco,jco);
			try{
			jc.setWidth("100");
			}catch(err){
				alert(err);
			}
			jc.setHeight("50px");
			
			jc.appendCell(document.getElementById("abc"));
//			alert("111");
//			alert(jc.getHeight()+""+jc.getWidth());
			jc.setValue("333");
//			jc.editCell();
			jco = new JieColumn("jie1");
			var abc = window["JieDataCell"];
			jc = new abc(jco, jco);
			
			jc.setWidth("50");
			alert(jc.getHeight()+""+jc.getWidth());
			jc.appendCell(document.getElementById("abc"));
			jc.setValue("3335555");

			//jc.editCell();
			
			/*
			jc = new JieCell(jco,jco);
			
			jc.appendCell(document.getElementById("abc"));
			*/
			
			
			alert("3sdf4px".replace(/px?$/gi, ""));
		</script>
	</body>
</html>
